package com.gjs.management.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gjs.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 后台用户角色表
 * </p>
 *
 * @author JC_Ho
 * @since 2022-01-20
 */
@Getter
@Setter
@TableName("sys_user_role")
@ApiModel(value = "SysUserRole对象", description = "用户角色表")
public class SysUserRole extends BaseEntity {

    @ApiModelProperty("用户唯一序列号")
    @TableField("user_sn")
    private String userSn;

    @ApiModelProperty("角色ID")
    @TableField("role_id")
    private Long roleId;
}
